package com.zscat.mallplus.entity.vo.oms;

import com.zscat.mallplus.ums.entity.UmsMemberReceiveAddress;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ConfirmOrderInfo {

    /**
     * 是否有默认地址
     */
    private Boolean isHasDefaultAddress = true;
    /**
     * 用户收货地址数量
     */
    private Integer memberReceiveAddressNum;
    /**
     * 默认的收货地址信息
     */
    private UmsMemberReceiveAddress address;
    /**
     * 用户收货地址列表
     */
    private List<UmsMemberReceiveAddress> memberReceiveAddressList;
    //优惠
    private BigDecimal promotionAmount;
    //应付金额
    private BigDecimal payAmount;
    //订单商品总金额
    private BigDecimal totalAmount;
    // 运费
    private BigDecimal freightAmount;
    /**
     * 店铺商品
     */
    private List<StoreConfirmGoodInfo> storeConfirmGoodInfoList;
    /**
     * 1 详情页   2勾选购物车   3全部购物车
     */
    private String type;
    /**
     * 库存id
     */
    private Long skuId;
    /**
     * 商品id
     */
    private Long goodsId;
    /**
     * 商品数量
     */
    private Integer total;
    /**
     * 购物车里的参数
     */
    private String cartIds;

}
